<h3>脚本字典<small>列表</small>
</h3>
<div class="panel panel-default" ng-controller="PathController" >
    <div ng-controller="FormDemoCtrl" class="panel-body">
        <form form-wizard="" steps="4" novalidate="" ng-submit="alertSubmit()">
            <div class="form-wizard wizard-horizontal">
                <!-- START Wizard Step inputs -->
                <div ng-show="wizard.active(1)">
                    <fieldset>
                        <legend>查询条件</legend>
                        <!-- START row -->
                        <div class="row">
                            <div class="col-md-4">
                                <div class="form-group">
                                    <label>脚本名称</label>
                                    <div class="controls">
                                        <input type="text" name="dictPath_v.path_name" ng-model="dictPath_v.path_name" placeholder="脚本名称" class="form-control" />
                                    </div>
                                </div>
                            </div>
                            <div class="col-md-4">
                                <div class="form-group">
                                    <label>路径</label>
                                    <div class="controls">
                                        <input type="text" name="dictPath_v.path_path" ng-model="dictPath_v.path_path" placeholder="路径" class="form-control" />
                                    </div>
                                </div>
                            </div>
                            <div class="col-md-4">
                                <div class="form-group">
                                    <label>有效</label>
                                    <div class="controls">
                                        <input type="text" name="dictPath_v.path_avable" ng-model="dictPath_v.path_avable" placeholder="有效" class="form-control" />
                                    </div>
                                </div>
                            </div>
                            <div class="col-md-4">
                                <div class="form-group">
                                    <label>修改时间</label>
                                    <div class="controls">
                                        <input type="text" name="dictPath_v.update_time" ng-model="dictPath_v.update_time" placeholder="修改时间：yyyy-MM-dd HH:mm:ss" class="form-control" />
                                    </div>

                                </div>
                            </div>
                            <div class="col-md-4">
                                <div class="form-group">
                                    <label>修改人</label>
                                    <div class="controls">
                                        <input type="text" name="dictPath_v.update_user" ng-model="dictPath_v.update_user" placeholder="修改人" class="form-control" />
                                    </div>
                                </div>
                            </div>
                            <div class="col-md-4">
                                <div class="form-group">
                                    <label>脚本语言</label>
                                    <div class="controls">
                                        <input type="text" name="dictPath_v.path_type" ng-model="dictPath_v.path_type" placeholder="脚本语言" class="form-control" />
                                    </div>
                                </div>
                            </div>
                        </div>
                        <!-- END row -->
                    </fieldset>
                    <ul class="pager">
                        <li class="next" tooltip-placement="left"><a href="#"  ng-click="addDict()">新增</a></li>
                        <li class="next"><a href="#" ng-click="checkDictpath(dictPath_v)">查询</a></li>
                    </ul>
                </div>
                <!-- END Wizard Step inputs -->
            </div>
        </form>
    </div>

    <!--<div class="panel panel-default">-->
    <div class="12">
        <div class="panel panel-default">
            <div class="panel-heading">今日新闻</div>
            <div class="panel-body">
                <div class="table-responsive">
                    <table class="table">
                        <thead>
                        <tr>
                            <th>序号</th>
                            <th>脚本名称</th>
                            <th>路径</th>
                            <th>有效</th>
                            <!--<th>标题链接</th>-->
                            <th>修改时间</th>
                            <th>修改人</th>
                            <th>脚本语言</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr class="{{  (($index+1)%2 == 0) ? 'info':'warning' }}" ng-repeat="path in dictpath">
                            <td>{{(bigCurrentPage - 1) * pageSize + $index+1}}</td>
                            <td>{{ path.path_name }}</td>
                            <td>{{ path.path_path }}</td>
                            <td>{{ path.path_avable }}</td>
                            <!--<td>{{ news.a_url }}</td>-->
                            <td>{{ path.update_time }}</td>
                            <td>{{ path.update_user }}</td>
                            <td>{{ path.path_type }}</td>
                        </tr>
                        </tbody>
                    </table>
                    <pagination    total-items="bigTotalItems"
                                   ng-model="bigCurrentPage"
                                   max-size="maxSize"
                                   boundary-links="true"
                                   rotate="false"
                                   num-pages="numPages"
                                   ng-change="checkTodayNews()"
                                   class="pagination-sm">
                    </pagination>
                </div>
            </div>
        </div>
    </div>


</div>

<script type="text/ng-template" id="addPathDict.html">
    <!--<div ng-controller="addPathDictCtrl" id="">-->
    <div class="modal-header">
        <button type="button" data-dismiss="modal" aria-hidden="true" class="close">×</button>
        <h4 id="myModalLabel" class="modal-title">新增路径字典</h4>
    </div>
    <div class="modal-body">
        <div class="form-horizontal">
            <div class="form-group">
                <label class="col-lg-2 control-label">路径名称</label>
                <div class="col-lg-8">
                    <input type="text"  ng-model="dictpath.path_name" placeholder="路径名称" class="form-control" />
                </div>
            </div>
            <div class="form-group">
                <label class="col-lg-2 control-label">路径</label>
                <div class="col-lg-8">
                    <input type="text" ng-model="dictpath.path_path" placeholder="路径" class="form-control" />
                </div>
            </div>
            <div class="form-group">
                <label class="col-lg-2 control-label">有效</label>
                <div class="col-lg-8">
                    <input type="text" ng-model="dictpath.path_avable" placeholder="有效" class="form-control" />
                </div>
            </div>
            <div class="form-group">
                <label class="col-lg-2 control-label">修改时间</label>
                <div class="col-lg-8">
                    <input type="text" ng-model="dictpath.update_time" placeholder="修改时间" class="form-control" />
                </div>
            </div>
            <div class="form-group">
                <label class="col-lg-2 control-label">修改人</label>
                <div class="col-lg-8">
                    <input type="text" ng-model="dictpath.update_user" placeholder="修改人" class="form-control" />
                </div>
            </div>
            <div class="form-group">
                <label class="col-lg-2 control-label">语言类型</label>
                <div class="col-lg-8">
                    <input type="text" ng-model="dictpath.path_type" placeholder="语言类型" class="form-control" />
                </div>
            </div>
        </div>
    </div>
    <div class="modal-footer">
        <button ng-click="saveDictPath(dictpath)" class="btn btn-primary">OK</button>
        <button ng-click="cancel()" class="btn btn-warning">Cancel</button>
    </div>
<!--</div>-->
</script>